module REXML
module Parsers
class BaseParser
  alias :oldpull :pull

  # KLUDGE: Investigate why REXML is only parsing the base (SOAP) msg and 
  # not including the entire WSS4R (signed) message before sending 
  # (somewhere in WSS4R -> SOAP4R -> REXML)
  def pull
    # $stdout.puts "*" * 80
    # $stdout.puts @source.buffer
    @nsstack += [ 'wsu', 'env', 'ds', 'xsi' ]
    oldpull
  end
end
end
end
